﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HigLabo.Net.WindowsLive
{
    /// <summary>
    /// 
    /// </summary>
    public class GetFilesByUserCommand : WindowsLiveCommand
    {
        /// <summary>
        /// 
        /// </summary>
        public override string GraphApiPath
        {
            get
            {
                return String.Format("{0}/skydrive/files", String.IsNullOrWhiteSpace(UserID) ? "me" : UserID);
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public String UserID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="userID"></param>
        public GetFilesByUserCommand(String userID)
        {
            this.UserID = userID;
        }
    }
}
